package com.cloudpivot.receivales.ding.userinfo.service;

import java.util.List;

public interface DingUserService {

    /**
     * 获取用户钉钉id by mobilephone
     *
     * @return
     */
    String useridByMobilPhone(String phone);

    /**
     * 根据用户mobilephone  获取用户unionid
     * @param phone
     * @return
     */
    String getUnionidByMobilePhone(String phone);

    /**
     * 转换list中的userphone to 钉钉userid
     * @param list
     * @return
     */
    List<String> convertListPhoneToUserid(List<String> list);


    String dingUidToUnionId(String uid);



}
